package com.jinke.api.modules.app.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jinke.api.modules.app.enums.MemberType;
import com.jinke.api.modules.ums.model.UserChannel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class AdminUpdateRequest {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "保证金比例")
    private BigDecimal earnestRate;

    @ApiModelProperty(value = "利润费率")
    private BigDecimal profitRate;

    @ApiModelProperty(value = "信用额度，美元")
    private BigDecimal creditBalance;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "备注信息")
    private String note;

    @ApiModelProperty(value = "帐号启用状态：0->禁用；1->启用")
    private Integer status;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "公司")
    private String company;

    @ApiModelProperty(value = "微信号")
    private String wxId;

    @ApiModelProperty(value = "邀请码")
    private String invitationCode;

    @ApiModelProperty(value = "员工类型")
    private MemberType memberType;
    @ApiModelProperty(value = "承运商")
    @TableField(exist = false)
    private List<UserChannel> userChannels;

}
